package com.itbaizhan.shopping_pay_service;

import org.apache.dubbo.config.spring.context.annotation.EnableDubbo;
import org.mybatis.spring.annotation.MapperScan;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.cloud.client.discovery.EnableDiscoveryClient;
import org.springframework.cloud.context.config.annotation.RefreshScope;

@SpringBootApplication// springboot启动
@EnableDiscoveryClient// 注册服务
@EnableDubbo// 启用dubbo功能
@RefreshScope// 动态刷新
@MapperScan("com.itbaizhan.shopping_pay_service.mapper")
public class ShoppingPayServiceApplication {
	public static void main(String[] args) {
		SpringApplication.run(ShoppingPayServiceApplication.class, args);
	}
}

